package com.xcx.dao;

import com.xcx.bo.CalcuSkinInfo;
import com.xcx.bo.CalcuSkinInfoExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CalcuSkinInfoDao {
    long countByExample(CalcuSkinInfoExample example);

    int deleteByExample(CalcuSkinInfoExample example);

    int deleteByPrimaryKey(String skinInfoNo);

    int insert(CalcuSkinInfo record);

    int insertSelective(CalcuSkinInfo record);

    List<CalcuSkinInfo> selectByExample(CalcuSkinInfoExample example);

    CalcuSkinInfo selectByPrimaryKey(String skinInfoNo);

    int updateByExampleSelective(@Param("record") CalcuSkinInfo record, @Param("example") CalcuSkinInfoExample example);

    int updateByExample(@Param("record") CalcuSkinInfo record, @Param("example") CalcuSkinInfoExample example);

    int updateByPrimaryKeySelective(CalcuSkinInfo record);

    int updateByPrimaryKey(CalcuSkinInfo record);
}